package com.ruoyi.backend2.interfaces;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Role {

    int GUEST = 0;
    int USER = 1;
    int ADMIN = 2;

    public int value() default GUEST;
}
